package com.xr.oa.remind;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.DBStatement;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;

/**
 * dueViewModel
 */
public class dueViewModel extends DefaultViewModel {
  public void remindKnow(ParameterSet parameters, ParameterSet outParameters)
      throws Exception {
	  DBStatement dbs = new DBStatement();
	  Dataset ds = getDataset("datasetRemind");
	  ds.moveFirst();
	  while(!ds.isLast()){
		  dbs.setSql("begin pck_remind.removeRemind("+ds.getString("sys_remind_sub_id")+"); end;");
		  dbs.execute();
		  ds.moveNext();
	  }

	  dbs.close();
   
  }

}
